﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ZLDC.Common.Estate;

namespace ZLDC.Estate.PM
{
    public partial class HousingEveryday : _PageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                hUserID.Value = this.info.m_sUserID;
                btnCompetences();   // 权限控制按钮
                hIsUsage.Value = _Session.GetSession("isUsage");
            }
        }

        // 权限控制按钮
        private void btnCompetences()
        {            
            //if (!ZLDC.Common.BaseUser.UserInfo.GetPopedom("盘源录入"))
            //    HLAddHousing.Visible = false;
            //if (!ZLDC.Common.BaseUser.UserInfo.GetPopedom("盘源导入"))
            //    HLHousingInput.Visible = false;
       
        }

    }
}
